package com.design.template;

/**
 * @author leali
 * @title: SavingAccount
 * @projectName design
 * @description: 定期账户类，充当具体子类
 * @date 2021/12/31 23:17
 */
public class SavingAccount extends Account{
    @Override
    public void CalculateInterest() {
        System.out.println("按照定期极端利息");
    }
}
